@model ECNow.Models.Product

@{
    ViewData["Title"] = "Edit";
}

<h2>Edit</h2>

<form asp-action="Edit">
    <div class="form-horizontal">
        <h4>Product</h4>
        <hr />
        <div asp-validation-summary="ModelOnly" class="text-danger"></div>
    <input type="hidden" asp-for="Id" />
        <div class="form-group">
            <label asp-for="BrifeName" class="col-md-2 control-label"></label>
            <div class="col-md-10">
                <input asp-for="BrifeName" class="form-control" />
                <span asp-validation-for="BrifeName" class="text-danger" />
            </div>
        </div>
        <div class="form-group">
            <div class="col-md-offset-2 col-md-10">
                <div class="checkbox">
                    <input asp-for="Deleted" />
                    <label asp-for="Deleted"></label>
                </div>
            </div>
        </div>
        <div class="form-group">
            <label asp-for="Description" class="col-md-2 control-label"></label>
            <div class="col-md-10">
                <input asp-for="Description" class="form-control" />
                <span asp-validation-for="Description" class="text-danger" />
            </div>
        </div>
        <div class="form-group">
            <label asp-for="DisplayOrder" class="col-md-2 control-label"></label>
            <div class="col-md-10">
                <input asp-for="DisplayOrder" class="form-control" />
                <span asp-validation-for="DisplayOrder" class="text-danger" />
            </div>
        </div>
        <div class="form-group">
            <label asp-for="EditDate" class="col-md-2 control-label"></label>
            <div class="col-md-10">
                <input asp-for="EditDate" class="form-control" />
                <span asp-validation-for="EditDate" class="text-danger" />
            </div>
        </div>
        <div class="form-group">
            <label asp-for="EditUser" class="col-md-2 control-label"></label>
            <div class="col-md-10">
                <input asp-for="EditUser" class="form-control" />
                <span asp-validation-for="EditUser" class="text-danger" />
            </div>
        </div>
        <div class="form-group">
            <label asp-for="Gtin" class="col-md-2 control-label"></label>
            <div class="col-md-10">
                <input asp-for="Gtin" class="form-control" />
                <span asp-validation-for="Gtin" class="text-danger" />
            </div>
        </div>
        <div class="form-group">
            <label asp-for="Height" class="col-md-2 control-label"></label>
            <div class="col-md-10">
                <input asp-for="Height" class="form-control" />
                <span asp-validation-for="Height" class="text-danger" />
            </div>
        </div>
        <div class="form-group">
            <label asp-for="InDate" class="col-md-2 control-label"></label>
            <div class="col-md-10">
                <input asp-for="InDate" class="form-control" />
                <span asp-validation-for="InDate" class="text-danger" />
            </div>
        </div>
        <div class="form-group">
            <label asp-for="InUser" class="col-md-2 control-label"></label>
            <div class="col-md-10">
                <input asp-for="InUser" class="form-control" />
                <span asp-validation-for="InUser" class="text-danger" />
            </div>
        </div>
        <div class="form-group">
            <div class="col-md-offset-2 col-md-10">
                <div class="checkbox">
                    <input asp-for="IsFreeShipping" />
                    <label asp-for="IsFreeShipping"></label>
                </div>
            </div>
        </div>
        <div class="form-group">
            <div class="col-md-offset-2 col-md-10">
                <div class="checkbox">
                    <input asp-for="IsShipEnabled" />
                    <label asp-for="IsShipEnabled"></label>
                </div>
            </div>
        </div>
        <div class="form-group">
            <label asp-for="Length" class="col-md-2 control-label"></label>
            <div class="col-md-10">
                <input asp-for="Length" class="form-control" />
                <span asp-validation-for="Length" class="text-danger" />
            </div>
        </div>
        <div class="form-group">
            <label asp-for="ManufacturerPartNumber" class="col-md-2 control-label"></label>
            <div class="col-md-10">
                <input asp-for="ManufacturerPartNumber" class="form-control" />
                <span asp-validation-for="ManufacturerPartNumber" class="text-danger" />
            </div>
        </div>
        <div class="form-group">
            <label asp-for="MetaDescription" class="col-md-2 control-label"></label>
            <div class="col-md-10">
                <input asp-for="MetaDescription" class="form-control" />
                <span asp-validation-for="MetaDescription" class="text-danger" />
            </div>
        </div>
        <div class="form-group">
            <label asp-for="MetaKeywords" class="col-md-2 control-label"></label>
            <div class="col-md-10">
                <input asp-for="MetaKeywords" class="form-control" />
                <span asp-validation-for="MetaKeywords" class="text-danger" />
            </div>
        </div>
        <div class="form-group">
            <label asp-for="MetaTitle" class="col-md-2 control-label"></label>
            <div class="col-md-10">
                <input asp-for="MetaTitle" class="form-control" />
                <span asp-validation-for="MetaTitle" class="text-danger" />
            </div>
        </div>
        <div class="form-group">
            <label asp-for="Name" class="col-md-2 control-label"></label>
            <div class="col-md-10">
                <input asp-for="Name" class="form-control" />
                <span asp-validation-for="Name" class="text-danger" />
            </div>
        </div>
        <div class="form-group">
            <label asp-for="OldPrice" class="col-md-2 control-label"></label>
            <div class="col-md-10">
                <input asp-for="OldPrice" class="form-control" />
                <span asp-validation-for="OldPrice" class="text-danger" />
            </div>
        </div>
        <div class="form-group">
            <label asp-for="Price" class="col-md-2 control-label"></label>
            <div class="col-md-10">
                <input asp-for="Price" class="form-control" />
                <span asp-validation-for="Price" class="text-danger" />
            </div>
        </div>
        <div class="form-group">
            <label asp-for="ProductCost" class="col-md-2 control-label"></label>
            <div class="col-md-10">
                <input asp-for="ProductCost" class="form-control" />
                <span asp-validation-for="ProductCost" class="text-danger" />
            </div>
        </div>
        <div class="form-group">
            <label asp-for="ProductTemplateId" class="col-md-2 control-label"></label>
            <div class="col-md-10">
                <input asp-for="ProductTemplateId" class="form-control" />
                <span asp-validation-for="ProductTemplateId" class="text-danger" />
            </div>
        </div>
        <div class="form-group">
            <div class="col-md-offset-2 col-md-10">
                <div class="checkbox">
                    <input asp-for="Published" />
                    <label asp-for="Published"></label>
                </div>
            </div>
        </div>
        <div class="form-group">
            <label asp-for="ShippingCharge" class="col-md-2 control-label"></label>
            <div class="col-md-10">
                <input asp-for="ShippingCharge" class="form-control" />
                <span asp-validation-for="ShippingCharge" class="text-danger" />
            </div>
        </div>
        <div class="form-group">
            <label asp-for="Sku" class="col-md-2 control-label"></label>
            <div class="col-md-10">
                <input asp-for="Sku" class="form-control" />
                <span asp-validation-for="Sku" class="text-danger" />
            </div>
        </div>
        <div class="form-group">
            <label asp-for="VendorId" class="col-md-2 control-label"></label>
            <div class="col-md-10">
                <input asp-for="VendorId" class="form-control" />
                <span asp-validation-for="VendorId" class="text-danger" />
            </div>
        </div>
        <div class="form-group">
            <label asp-for="Weight" class="col-md-2 control-label"></label>
            <div class="col-md-10">
                <input asp-for="Weight" class="form-control" />
                <span asp-validation-for="Weight" class="text-danger" />
            </div>
        </div>
        <div class="form-group">
            <label asp-for="Width" class="col-md-2 control-label"></label>
            <div class="col-md-10">
                <input asp-for="Width" class="form-control" />
                <span asp-validation-for="Width" class="text-danger" />
            </div>
        </div>
        <div class="form-group">
            <div class="col-md-offset-2 col-md-10">
                <input type="submit" value="Save" class="btn btn-default" />
            </div>
        </div>
    </div>
</form>

<div>
    <a asp-action="Index">Back to List</a>
</div>

@section Scripts {
    @{await Html.RenderPartialAsync("_ValidationScriptsPartial");}
}
